﻿using Newtonsoft.Json;
/*
==================================================================
    注意：此文件为Auto代码，不可手动修改【部门】
==================================================================
*/

namespace Models
{
    /// <summary>
    /// 部门  FilterModel
    /// </summary>
    public partial class DepartmentFilterModel
    {
        /// <summary>
        /// 编号
        /// </summary>
        public int? _DepartmentID { get; set; }
        public List<int> _DepartmentIDs { get; set; }
        public List<int> _NotDepartmentIDs { get; set; }

        /// <summary>
        /// 集团
        /// </summary>
        public int? _GroupInfoID { get; set; }
        public List<int> _GroupInfoIDs { get; set; }
        public List<int> _NotGroupInfoIDs { get; set; }

        /// <summary>
        /// 负责人
        /// </summary>
        public int? _LeaderID { get; set; }
        public List<int> _LeaderIDs { get; set; }
        public List<int> _NotLeaderIDs { get; set; }

        /// <summary>
        /// 负责人名称
        /// </summary>
        public string _LeaderName { get; set; }
        public string _LeaderNameEqual { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string _Name { get; set; }
        public string _NameEqual { get; set; }

        /// <summary>
        /// 类型
        /// </summary>
        public int? _Type { get; set; }
        public List<int> _Types { get; set; }
        public List<int> _NotTypes { get; set; }

        /// <summary>
        /// 省
        /// </summary>
        public int? _ProvinceID { get; set; }
        public List<int> _ProvinceIDs { get; set; }
        public List<int> _NotProvinceIDs { get; set; }

        /// <summary>
        /// 市
        /// </summary>
        public int? _CityID { get; set; }
        public List<int> _CityIDs { get; set; }
        public List<int> _NotCityIDs { get; set; }

        /// <summary>
        /// 县
        /// </summary>
        public int? _AreaID { get; set; }
        public List<int> _AreaIDs { get; set; }
        public List<int> _NotAreaIDs { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool? _IsDelete { get; set; }
        public List<bool> _IsDeletes { get; set; }

        /// <summary>
        /// 创建人姓名
        /// </summary>
        public string _CreateUserName { get; set; }
        public string _CreateUserNameEqual { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? _CreateDate { get; set; }
        public DateTime? _CreateDate_Begin { get; set; }
        public DateTime? _CreateDate_End { get; set; }

        /// <summary>
        /// 修改人姓名
        /// </summary>
        public string _UpdateUserName { get; set; }
        public string _UpdateUserNameEqual { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? _UpdateDate { get; set; }
        public DateTime? _UpdateDate_Begin { get; set; }
        public DateTime? _UpdateDate_End { get; set; }

    }





    /// <summary>
    /// 部门  Model
    /// </summary>
    public partial class DepartmentModel
    {
        /// <summary>
        /// 只读属性，统一主键名称
        /// </summary>
        public int AutoID
        {
            get
            {
                return DepartmentID;
            }
        }

        /// <summary>
        /// 编号
        /// </summary>
        public int DepartmentID { get; set; }

        /// <summary>
        /// 集团
        /// </summary>
        public int GroupInfoID { get; set; }

        /// <summary>
        /// 负责人
        /// </summary>
        public int? LeaderID { get; set; }

        /// <summary>
        /// 负责人名称
        /// </summary>
        public string LeaderName { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 类型
        /// </summary>
        public int Type { get; set; }

        /// <summary>
        /// 省
        /// </summary>
        public int? ProvinceID { get; set; }

        /// <summary>
        /// 市
        /// </summary>
        public int? CityID { get; set; }

        /// <summary>
        /// 县
        /// </summary>
        public int? AreaID { get; set; }

        /// <summary>
        /// 父节点
        /// </summary>
        public int ParentID { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDelete { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public int CreateUserID { get; set; }

        /// <summary>
        /// 创建人姓名
        /// </summary>
        public string CreateUserName { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateDate { get; set; }

        /// <summary>
        /// 修改人
        /// </summary>
        public int UpdateUserID { get; set; }

        /// <summary>
        /// 修改人姓名
        /// </summary>
        public string UpdateUserName { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime UpdateDate { get; set; }

    }
}
